package com.nidu.demo.oauth2.dto;

import com.nidu.demo.base.BasePageQry;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@Schema(description = "OAuth2 Approve分页查询对象")
@EqualsAndHashCode(callSuper = true)
public class OAuth2ApprovePageQry extends BasePageQry {

    /**
     * 客户端编号
     */
    @Schema(description = "客户端编号", example = "client_123")
    private Long clientId;

    /**
     * 用户编号
     */
    @Schema(description = "用户编号", example = "1")
    private Long userId;

    /**
     * 用户类型
     */
    @Schema(description = "用户类型(1:会员,2:管理)", example = "1")
    private Integer userType;

}
